<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='zh-CN' xml:lang='zh-CN' xmlns='http://www.w3.org/1999/xhtml'>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="Content-Language" content="zh-CN"/>
        <meta name="robots" content="index, follow" />
        <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
        <title>氿上网</title>
        {$system_css}
        {$system_js}
        <script type="text/javascript">
            $(function(){
                $("#myform").validate({
                    rules: {
                        password: {
                            required: true,
                            minlength: 6,
                            maxlength:20
                        },
                        confim_password: {
                            required: true,
                            minlength: 6,
                            maxlength:20,
                            equalTo: "#password"
                        },
                        oldpassword: {
                            required: true,
                            minlength: 6,
                            maxlength:20
                        }
                    },
                    messages: {
                        password: {
                            required: "密码不能为空!",
                            minlength: "必须大于6位小于20位!",
                            maxlength: "必须大于6位小于20位!"
                        },
                        confim_password: {
                            required: "密码确认不能为空",
                            minlength: "必须大于6位小于20位!",
                            maxlength: "必须大于6位小于20位!",
                            equalTo: "和密码不一致!"
                        },
                        oldpassword: {
                            required: "密码确认不能为空",
                            minlength: "必须大于6位小于20位!",
                            maxlength: "必须大于6位小于20位!",
                            equalTo: "和密码不一致!"
                        }
                    }
                });
            })
        </script>
    </head>
    <body>

        <div id="OSC_Screen">
            {include file='header.html'}
            <div id="OSC_Content">
                {include file="message.html"}
                <div class='QuestionForm'>
          {include file='user_nav.html'}
                    
                    <form id='myform' action="{$site_url}userinfo/change_password" method="post">
                        <table border='0'>
                            <tr class='q_title'>
                                <th class='caption' style="width:auto">旧的登录密码：</th>
                                <td class='input'>
                                    <input  id='oldpassword' class='TEXT' type='password' name='oldpassword' size="40" />
                                </td>
                            </tr>

                            <tr class='q_title'>
                                <th class='caption' style="width:auto">新密码：</th>
                                <td class='input'>
                                    <input  id='password' class='TEXT' type='password' name='password' size="40" />
                                </td>
                            </tr>
                            <tr class='q_title'>
                                <th class='caption' style="width:auto">再次输入新密码：</th>
                                <td class='input'>
                                    <input  id='confim_password' class='TEXT' type='password' name='confim_password' size="40" />
                                </td>
                            </tr>

                            <tr class='submit'>
                                <th class='caption' style="width:auto"></th>
                                <td class='input'>
                                    <input id="btn_submit" type="submit" value="更改密码" class="SUBMIT" tabindex='8'/>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
                <div class='clear'></div>

            </div>
            <div class='clear'></div>
            {include file="footer.html"}
        </div>
        <script type="text/javascript">
            $(function(){
             
            });
        </script>
    </body>
</html>
